<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="../js/vue.js"></script>
</head>
<body>

    <div id="app">
        {{link}}

        <a v-bind:href="link">百度</a>

    </div>


</body>
<script>
    new Vue({
        el:"#app",
        data:{
            link:"http://www.baidu.com"
        },

    })
</script>
</html>